package com.tcd.explore.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

/**
 * <p>
 * 人伤信息详情表
 * </p>
 *
 * @author Jarle
 * @since 2021-05-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class HumanInjuryInfo implements Serializable {


    /**
     * 人伤详情编号
     */
    @TableId(value = "humanInjury_id")
    private Integer humaninjuryId;
    /**
     * 赔案编号(外键)
     */
    @TableField(value = "claim_main_id")
    private Long claimMainId;

    /**
     * 伤者姓名
     */
    @TableField(value = "injured_person_name")
    private String injuredPersonName;

    /**
     * 伤情描述
     */
    @TableField(value = "injury_desc")
    private String injuryDesc;

    /**
     * 费用类别
     */
    @TableField(value = "cost_category")
    private String costCategory;

    /**
     * 定损费用小计
     */
    @TableField(value = "loss_total")
    private BigDecimal lossTotal;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
    /*
     *定损状态
     */
    @TableField(value = "loss_status")
    private String lossstatus;
    /**
     * 版本（乐观锁）
     */
    private int version;

}
